#include <iostream>

using namespace std;
typedef unsigned long long BIG;

int main()
{
	BIG N = 100,result = 0,i,j,ii=0,jj=0;

	for(i=1;i<=N;i++)
		ii+=i*i;

	for(j=1;j<=N;j++)
		jj+=j;
	jj*=jj;

	result = jj - ii;

	cout << result << endl;

	return 0;
}
